package $03;

public class Car {
    String type;
    String weight;
    public int number;

    public Car(String lx, String zd, int n) {
        type = lx;
        weight = zd;
        number = n;
    }

    public String getInfo() {
        return "类型：" + type +   "      载重：" + weight +    "     车牌：" + number;
    }
}